﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Superstore.Store.Models;

namespace Superstore.Store.Controllers
{
    public class PromotionController : Controller
    {
        // GET: Promotion
        public ActionResult Index()
        {
            return View();
        }

        public PartialViewResult GetPromotionGoodsInfo(List<ShoppingCartGoodsInfo> goodsList)
        {
            if (goodsList != null && goodsList.Count > 0)
            {
                return PartialView(goodsList);
            }
            return PartialView();
        }
    }
}